import request from "assets/utils/request";
export const getProjectList = data => {
    return request({
        method: 'post',
        url: '/oa/project/getprojectlist',
        data
    })
}
export const searchProjectList = data => {
    return request({
        method: 'post',
        url: '/oa/project/searchproject',
        data
    })
}
export const createProject = data => {
    return request({
        method: 'post',
        url: '/oa/project/createproject',
        data
    })
}
export const getProjectType = data => {
    return request({
        method: 'post',
        url: '/oa/project/getprojecttype',
        data
    })
}
export const updateStatus = data => {
    return request({
        method: 'post',
        url: '/oa/project/updatestatus',
        data
    })
}